﻿using System;
using System.Collections.Generic;
using System.Text;

namespace BDElectron.ClientSession
{
    public interface IClientSession
    {
        string LastError { get; }

        object GetServerObjectThoughAuthentication(string login, string password);

        string GetMd5Hash(string password);

        #region Client Update Related
        string[] GetClientFilesList();

        byte[] GetClientFile(string fileName);
        #endregion Client Update Related

        bool CheckDbAccess();
    }
}
